package com.hxgis.oc.runner;

import com.hxgis.oc.config.OConfig;
import com.hxgis.oc.ncep.NcepRH;
import com.hxgis.oc.ncep.NcepTimer1h;
import com.hxgis.oc.ncep.NcepTmp;
import com.hxgis.oc.ncep.NcepUV;

public class NecpRunner {
    public static void runIfSet(){
        if(OConfig.getConfig().isNcepTimerEnable()){
            NcepTimer1h.start(new NcepRH());
            NcepTimer1h.start(new NcepUV());
            NcepTimer1h.start(new NcepTmp());
        }
    }
}
